package com.future.cor.v2;

/**
 * Description:
 *
 * @author weiruibai.vendor
 * Date: 2022/2/21 18:36
 */
public class Test {

    public static void main(String[] args) {

        MyFilterChain filterChain = new MyFilterChain()
                .add(new Filter1())
                .add(new Filter2())
                .add(new Filter3())
                .add(new Filter4());
        Request request = new Request();
        Response response = new Response();

        filterChain.doFilter(request, response);

        System.out.println();
    }
}
